package arrayList_basics.src.JavaBean;

public class Test {
    public static void main(String[] args) {
        Lecturer l = new Lecturer("11","张三");
        Teacher t = new Teacher("22","李四");
        Maintainer m = new Maintainer("33","王五");
        Buyer b = new Buyer("44","刘6");
        System.out.println(l.getName());
        l.work();
        t.work();
        m.work();
        b.work();
    }
}
